package com.example.todolist.entity

import androidx.room.ColumnInfo
import androidx.room.Ignore

/**
 * 分类子页面的显示
 */
data class CategoryDetail(
    @ColumnInfo(name = "category_id")
    var categoryId: Int = 0,
    @ColumnInfo(name = "label")
    var categoryName: String = "",
    var categoryCnt: Int = 0
) {
    @Ignore
    var isSelected: Boolean = false

    @Ignore
    constructor() : this(0, "", 0)
}